package com.service.base.generator.app.dao;

import com.service.base.generator.app.model.TableStrategyConfig;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * 数据库配置策略信息
 *
 * @author wangyongkun
 * @create 2020/12/13
 */
@Repository
public interface TableStrategyConfigDao extends JpaRepository<TableStrategyConfig,Long> {
    TableStrategyConfig findByDbIdAndTableName(Long dbId, String tableName);
}
